package com.evil.application.pojo.dto.robot;

import com.evil.application.pojo.entity.ApplicationRobot;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 机器人信息 返回实体
 *
 * @author liyang
 * @date 2022-08-08 00:00
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class ApplicationRobotRespDTO extends ApplicationRobotDTO {

    /**
     * id
     */
    private Long robotId;

    public ApplicationRobotRespDTO(ApplicationRobot applicationRobot) {
        super(applicationRobot);
        this.robotId = applicationRobot.getRobotId();
    }
}
